package com.team11.server.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "获取作业审核列表",description = "获取作业审核列表")
public class JobAuditList{

    @ApiModelProperty(value = "id")
    @TableId(value = "h_id", type = IdType.AUTO)
    private Integer hId;

    @ApiModelProperty(value = "发布时间")
    @TableField("h_setime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime hSetime;

    @ApiModelProperty(value = "结束时间")
    @TableField("h_stoptime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime hStoptime;

    @ApiModelProperty(value = "学生作业提交时间")
    @TableField("h_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime hTime;

    @ApiModelProperty(value = "作业主题")
    @TableField("h_title")
    private String hTitle;

    @ApiModelProperty(value = "项目名称")
    @TableField("kc_name")
    private String kcName;

    @ApiModelProperty(value = "作业类型(1为日常作业，2为阶段性交付作业，3为最终交付作业)")
    @TableField("h_type")
    private Integer hType;

    @ApiModelProperty(value = "教师姓名")
    @TableField("t_name")
    private String tName;

    @ApiModelProperty(value = "院系")
    @TableField("c_department")
    private String cDepartment;

    @ApiModelProperty(value = "专业")
    @TableField("c_major")
    private String cMajor;

    @ApiModelProperty(value = "年级")
    @TableField("c_grade")
    private String cGrade;

    @ApiModelProperty(value = "班级")
    @TableField("c_class")
    private String cClass;

    @ApiModelProperty(value = "项目组名称")
    @TableField("p_name")
    private String pName;

    @ApiModelProperty(value = "学号")
    @TableField("s_id")
    private String sNumber;

    @ApiModelProperty(value = "homework表id")
    @TableField("homework_id")
    private String homeworkId;

    @ApiModelProperty(value = "学生姓名")
    @TableField("s_name")
    private String sName;

    @ApiModelProperty(value = "作业状态（0为待提交，1为未批复，2为已批复）")
    @TableField("status")
    private Integer status;
}
